/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade.order.login;

import info.peigen.hotpot.business.customer.facade.order.base.CustomerServiceOrderBase;
import jakarta.validation.constraints.NotEmpty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(CustomerLoginOrder)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2023/8/30
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerLoginOrder extends CustomerServiceOrderBase {
    /** 登录名-可用手机号或邮箱 */
    @NotEmpty
    String loginName;
    /** 登录密码 */
    @NotEmpty
    String loginPassword;
    /** 验证码 */
    String verificationCode;
    /** 客户端IP */
    String loginIp;
}
